import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../views/HomeView.vue')
    },
    {
      path: '/user',
      name: 'user',
      component: () => import('../views/user/UserView.vue')
    },
    {
      path: '/adduser',
      name: 'addUser',
      component: () => import('../views/user/AddUserView.vue')
    },
    {
      path: '/myinfo',
      name: 'myinfo',
      component: () => import('../views/user/MyInfoView.vue')
    },
    {
      path: '/meeting',
      name: 'meeting',
      component: () => import('../views/MeetingView.vue')
    },
    {
      path: '/meetingroom',
      name: 'meetingroom',
      component: () => import('../views/MeetingRoomView.vue')
    },
    {
      path: '/team',
      name: 'team',
      component: () => import('../views/TeamView.vue')
    }
  ]
})

export default router
